package com.robmayhew.jsc;

import java.io.File;

/**
 * User: rmayhew
 * Date: Apr 11, 2005
 * Time: 4:25:11 PM
 */
public class Occurrence {

    private String file = null;
    private int row;
    private int col;
    private String line;
    private String word;
    private int wordStart = -1;
    private int wordEnd = -1;
    private int selectionStart = -1;
    private int selectionEnd = -1;

    public Occurrence(){}

    public String getWord() {
        return word;
    }

    public String getFile() {
        return file;
    }

    public int getRow() {
        return row;
    }

    public int getCol() {
        return col;
    }

    public String getLine() {
        return line;
    }

    public int getWordStart() {
        return wordStart;
    }

    public int getWordEnd() {
        return wordEnd;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public void setCol(int col) {
        this.col = col;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public void setWordStart(int wordStart) {
        this.wordStart = wordStart;
    }

    public void setWordEnd(int wordEnd) {
        this.wordEnd = wordEnd;
    }

    public int getSelectionStart()
    {
        return selectionStart;
    }

    public void setSelectionStart(int selectionStart)
    {
        this.selectionStart = selectionStart;
    }

    public int getSelectionEnd()
    {
        return selectionEnd;
    }

    public void setSelectionEnd(int selectionEnd)
    {
        this.selectionEnd = selectionEnd;
    }
}

/*  
 *  $Log:  $ 
 */
